Load all required libraries.
library(tidyverse)
## -- Attaching packages --------------------------------------- tidyverse 1.3.1 --
## v ggplot2 3.3.5 v purrr 0.3.4
## v tibble 3.1.3 v dplyr 1.0.7
## v tidyr 1.1.3 v stringr 1.4.0
## v readr 2.0.0 v forcats 0.5.1
## -- Conflicts ------------------------------------------ tidyverse_conflicts() --
## x dplyr::filter() masks stats::filter()
## x dplyr::lag() masks stats::lag()
library(plotly)
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
library(broom)
Read in raw data from RDS.
raw_data <- readRDS("./year2.RDS")
Make a few small modifications to names and data for visualizations.
final_data <- raw_data %>% mutate(log_copy_per_L = log10(mean_copy_num_L)) %>%
rename(Facility = wrf) %>%
mutate(Facility = recode(Facility,
"NO" = "WRF A",
"MI" = "WRF B",
"CC" = "WRF C"))
Seperate the data by gene target to ease layering in the final plot
#make three data layers
only_positives <<- subset(final_data, (!is.na(final_data$Facility)))
only_n1 <- subset(only_positives, target == "N1")
only_n2 <- subset(only_positives, target == "N2")
only_background <<-final_data %>%
select(c(date, cases_cum_clarke, new_cases_clarke, X7_day_ave_clarke)) %>%
group_by(date) %>% summarise_if(is.numeric, mean)
#specify fun colors
background_color <- "#7570B3"
seven_day_ave_color <- "#E6AB02"
marker_colors <- c("N1" = '#1B9E77',"N2" ='#D95F02')
#remove facilty C for now
#only_n1 <- only_n1[!(only_n1$Facility == "WRF C"),]
#only_n2 <- only_n2[!(only_n2$Facility == "WRF C"),]
only_n1 <- only_n1[!(only_n1$Facility == "WRF A" & only_n1$date == "2020-11-02"), ]
only_n2 <- only_n2[!(only_n2$Facility == "WRF A" & only_n2$date == "2020-11-02"), ]
Build the main plot
#first layer is the background epidemic curve
p1 <- only_background %>%
plotly::plot_ly() %>%
plotly::add_trace(x = ~date, y = ~new_cases_clarke,
type = "bar",
hoverinfo = "text",
text = ~paste('</br> Date: ', date,
'</br> Daily Cases: ', new_cases_clarke),
alpha = 0.5,
name = "Daily Reported Cases",
color = background_color,
colors = background_color,
showlegend = FALSE) %>%
layout(yaxis = list(title = "Clarke County Daily Cases", showline=TRUE)) %>%
layout(legend = list(orientation = "h", x = 0.2, y = -0.3))
#renders the main plot layer two as seven day moving average
p1 <- p1 %>% plotly::add_trace(x = ~date, y = ~X7_day_ave_clarke,
type = "scatter",
mode = "lines",
hoverinfo = "text",
text = ~paste('</br> Date: ', date,
'</br> Seven-Day Moving Average: ', X7_day_ave_clarke),
name = "Seven Day Moving Average Athens",
line = list(color = seven_day_ave_color),
showlegend = FALSE)
#renders the main plot layer three as positive target hits
p2 <- plotly::plot_ly() %>%
plotly::add_trace(x = ~date, y = ~mean_copy_num_L,
type = "scatter",
mode = "markers",
hoverinfo = "text",
text = ~paste('</br> Date: ', date,
'</br> Facility: ', Facility,
'</br> Target: ', target,
'</br> Copies/L: ', round(mean_copy_num_L, digits = 2)),
data = only_n1,
symbol = ~Facility,
marker = list(color = '#1B9E77', size = 8, opacity = 0.65),
showlegend = FALSE) %>%
plotly::add_trace(x = ~date, y = ~mean_copy_num_L,
type = "scatter",
mode = "markers",
hoverinfo = "text",
text = ~paste('</br> Date: ', date,
'</br> Facility: ', Facility,
'</br> Target: ', target,
'</br> Copies/L: ', round(mean_copy_num_L, digits = 2)),
data = only_n2,
symbol = ~Facility,
marker = list(color = '#D95F02', size = 8, opacity = 0.65),
showlegend = FALSE) %>%
layout(yaxis = list(title = "SARS CoV-2 Copies/L",
showline = TRUE,
type = "log",
dtick = 1,
automargin = TRUE)) %>%
layout(legend = list(orientation = "h", x = 0.2, y = -0.3))
#adds the limit of detection dashed line
p2 <- p2 %>% plotly::add_segments(x = as.Date("2021-06-30"),
xend = ~max(date + 10),
y = 3571.429, yend = 3571.429,
opacity = 0.35,
line = list(color = "black", dash = "dash")) %>%
layout(annotations = list(x = as.Date("2021-06-30"), y = 3.8, xref = "x", yref = "y",
text = "Limit of Detection", showarrow = FALSE))
p1
p2
Combine the two main plot pieces as a subplot
#seperate n1 and n2 frames by site
#n1
wrf_a_only_n1 <- subset(only_n1, Facility == "WRF A")
wrf_b_only_n1 <- subset(only_n1, Facility == "WRF B")
wrf_c_only_n1 <- subset(only_n1, Facility == "WRF C")
#n2
wrf_a_only_n2 <- subset(only_n2, Facility == "WRF A")
wrf_b_only_n2 <- subset(only_n2, Facility == "WRF B")
wrf_c_only_n2 <- subset(only_n2, Facility == "WRF C")
#rejoin the old data frames then seperate in to averages for each plant.
wrfa_both <- full_join(wrf_a_only_n1, wrf_a_only_n2)%>%
select(c(date, mean_total_copies)) %>%
group_by(date) %>%
summarize_if(is.numeric, mean) %>%
ungroup() %>%
mutate(log_total_copies_both = log10(mean_total_copies))
## Joining, by = c("date", "new_cases_clarke", "cases_cum_clarke", "X7_day_ave_clarke", "Facility", "collection_num", "target", "mean_copy_num_uL_rxn", "mean_copy_num_L", "sd_L", "mean_total_copies", "sd_total_copies", "log_copy_per_L")
wrfb_both <- full_join(wrf_b_only_n1, wrf_b_only_n2)%>%
select(c(date, mean_total_copies)) %>%
group_by(date) %>%
summarize_if(is.numeric, mean) %>%
ungroup() %>%
mutate(log_total_copies_both = log10(mean_total_copies))
## Joining, by = c("date", "new_cases_clarke", "cases_cum_clarke", "X7_day_ave_clarke", "Facility", "collection_num", "target", "mean_copy_num_uL_rxn", "mean_copy_num_L", "sd_L", "mean_total_copies", "sd_total_copies", "log_copy_per_L")
wrfc_both <- full_join(wrf_c_only_n1, wrf_c_only_n2)%>%
select(c(date, mean_total_copies)) %>%
group_by(date) %>%
summarize_if(is.numeric, mean) %>%
ungroup() %>%
mutate(log_total_copies_both = log10(mean_total_copies))
## Joining, by = c("date", "new_cases_clarke", "cases_cum_clarke", "X7_day_ave_clarke", "Facility", "collection_num", "target", "mean_copy_num_uL_rxn", "mean_copy_num_L", "sd_L", "mean_total_copies", "sd_total_copies", "log_copy_per_L")
#get max date
maxdate <- max(wrfa_both$date)
mindate <- min(wrfa_both$date)
Build loess smoothing figures figures
This makes the individual plots
#**************************************WRF A PLOT**********************************************
#add trendlines
#extract data from geom_smooth
#both extract
# *********************************span 0.6***********************************
#*****************Must always update the n = TOTAL NUMBER OF DAYS*************************
extract_botha <- ggplot(wrfa_both, aes(x = date, y = log_total_copies_both)) +
stat_smooth(aes(outfit=fit_botha<<-..y..), method = "loess", color = '#1B9E77',
span = 0.3, n = 190)
## Warning: Ignoring unknown aesthetics: outfit
#look at the fits to align dates and total observations
#both
extract_botha
## `geom_smooth()` using formula 'y ~ x'
fit_botha
## [1] 11.53410 11.57187 11.60934 11.64655 11.68357 11.72044 11.75721 11.79383
## [9] 11.83021 11.86635 11.90223 11.93787 11.97324 12.00836 12.04321 12.07821
## [17] 12.11368 12.14943 12.18530 12.22109 12.25665 12.29178 12.32633 12.36011
## [25] 12.39294 12.42465 12.45506 12.48316 12.50851 12.53180 12.55371 12.57495
## [33] 12.59621 12.61818 12.64156 12.66703 12.69451 12.72322 12.75284 12.78304
## [41] 12.81351 12.84391 12.87393 12.90323 12.93151 12.95842 12.98366 13.00689
## [49] 13.03109 13.05825 13.08657 13.11422 13.13941 13.16033 13.17516 13.18639
## [57] 13.19724 13.20694 13.21476 13.21994 13.22174 13.21940 13.21184 13.19901
## [65] 13.18177 13.16095 13.13739 13.11193 13.08542 13.05869 13.03258 13.00503
## [73] 12.97381 12.93955 12.90287 12.86439 12.82474 12.78455 12.74444 12.70503
## [81] 12.66695 12.63083 12.59727 12.56310 12.52555 12.48589 12.44536 12.40523
## [89] 12.36678 12.33125 12.29991 12.27402 12.25310 12.23548 12.22063 12.20803
## [97] 12.19715 12.18747 12.17846 12.17365 12.17538 12.18135 12.18926 12.19681
## [105] 12.20169 12.20162 12.19844 12.19552 12.19285 12.19040 12.18816 12.18610
## [113] 12.18422 12.18249 12.18088 12.17940 12.17800 12.17668 12.17387 12.16862
## [121] 12.16182 12.15437 12.14716 12.14108 12.13704 12.13593 12.13865 12.14580
## [129] 12.15691 12.17129 12.18819 12.20691 12.22673 12.24694 12.26680 12.28561
## [137] 12.30265 12.31720 12.32854 12.33739 12.34498 12.35134 12.35650 12.36051
## [145] 12.36339 12.36517 12.36591 12.36562 12.36434 12.36211 12.35897 12.35494
## [153] 12.35006 12.34012 12.32265 12.30030 12.27573 12.25159 12.23053 12.21521
## [161] 12.20829 12.21242 12.22442 12.23930 12.25701 12.27747 12.30064 12.32645
## [169] 12.35486 12.38578 12.41918 12.45499 12.49314 12.53359 12.57644 12.62185
## [177] 12.66982 12.72036 12.77347 12.82915 12.88742 12.94826 13.01170 13.07773
## [185] 13.14635 13.21757 13.29140 13.36783 13.44688 13.52854
#assign fits to a vector
both_trenda <- fit_botha
#extract y min and max for each
limits_botha <- ggplot_build(extract_botha)$data
## `geom_smooth()` using formula 'y ~ x'
limits_botha <- as.data.frame(limits_botha)
both_ymina <- limits_botha$ymin
both_ymaxa <- limits_botha$ymax
#reassign dataframes (just to be safe)
work_botha <- wrfa_both
#fill in missing dates to smooth fits
work_botha <- work_botha %>% complete(date = seq(min(date), max(date), by = "1 day"))
date_vec_botha <- work_botha$date
#create a new smooth dataframe to layer
smooth_frame_botha <- data.frame(date_vec_botha, both_trenda, both_ymina, both_ymaxa)
#WRF A
#plot smooth frames
p_wrf_a <- plotly::plot_ly() %>%
plotly::add_lines(x = ~date_vec_botha, y = ~both_trenda,
data = smooth_frame_botha,
hoverinfo = "text",
text = ~paste('</br> Date: ', date_vec_botha,
'</br> Median Log Copies: ', round(both_trenda, digits = 2)),
line = list(color = '#1B9E77', size = 8, opacity = 0.65),
showlegend = FALSE) %>%
layout(xaxis = list(range = c(mindate - 7, maxdate + 7))) %>% #buffer here
plotly::add_ribbons(x ~date_vec_botha, ymin = ~both_ymina, ymax = ~both_ymaxa,
showlegend = FALSE,
opacity = 0.25,
hoverinfo = "text",
text = ~paste('</br> Date: ', date_vec_botha, #leaving in case we want to change
'</br> Max Log Copies: ', round(both_ymaxa, digits = 2),
'</br> Min Log Copies: ', round(both_ymina, digits = 2)),
name = "",
fillcolor = '#1B9E77',
line = list(color = '#1B9E77')) %>%
layout(yaxis = list(title = "Total Log10 SARS CoV-2 Copies",
showline = TRUE,
automargin = TRUE)) %>%
layout(xaxis = list(title = "Date")) %>%
layout(title = "WRF A") %>%
plotly::add_markers(x = ~date, y = ~log_total_copies_both,
data = wrfa_both,
hoverinfo = "text",
showlegend = FALSE,
text = ~paste('</br> Date: ', date,
'</br> Actual Log Copies: ', round(log_total_copies_both, digits = 2)),
marker = list(color = '#1B9E77', size = 6, opacity = 0.65))
p_wrf_a
save(p_wrf_a, file = "./site_objects/wrf_a_year2.rda")
#**************************************WRF B PLOT**********************************************
#add trendlines
#extract data from geom_smooth
#both extract
# *********************************span 0.6***********************************
#*****************Must always update the n = TOTAL NUMBER OF DAYS*************************
extract_bothb <- ggplot(wrfb_both, aes(x = date, y = log_total_copies_both)) +
stat_smooth(aes(outfit=fit_bothb<<-..y..), method = "loess", color = '#D95F02',
span = 0.3, n = 190)
## Warning: Ignoring unknown aesthetics: outfit
#look at the fits to align dates and total observations
#both
extract_bothb
## `geom_smooth()` using formula 'y ~ x'
fit_bothb
## [1] 10.69303 10.78810 10.88108 10.97207 11.06118 11.14853 11.23423 11.31831
## [9] 11.40066 11.48119 11.55980 11.63639 11.71086 11.78310 11.85303 11.92090
## [17] 11.98700 12.05127 12.11365 12.17408 12.23249 12.28883 12.34303 12.39503
## [25] 12.44477 12.49219 12.53722 12.57992 12.62039 12.65862 12.69463 12.72842
## [33] 12.75998 12.78933 12.81645 12.84137 12.86258 12.87907 12.89149 12.90055
## [41] 12.90690 12.91124 12.91423 12.91656 12.91891 12.92196 12.92638 12.93285
## [49] 12.94214 12.95377 12.96654 12.97926 12.99074 12.99978 13.00518 13.00780
## [57] 13.00927 13.00956 13.00867 13.00657 13.00323 12.99864 12.99059 12.97777
## [65] 12.96153 12.94319 12.92411 12.90562 12.88905 12.87576 12.86707 12.86307
## [73] 12.86245 12.86446 12.86834 12.87333 12.87867 12.88361 12.88739 12.88925
## [81] 12.88845 12.88421 12.87579 12.86425 12.85120 12.83669 12.82074 12.80341
## [89] 12.78473 12.76474 12.74349 12.72100 12.69189 12.65320 12.60863 12.56189
## [97] 12.51670 12.47676 12.44579 12.42390 12.40736 12.39412 12.38214 12.36936
## [105] 12.35376 12.33327 12.30885 12.28294 12.25567 12.22719 12.19765 12.16719
## [113] 12.13595 12.10409 12.07175 12.03908 12.00621 11.97330 11.93216 11.87775
## [121] 11.81497 11.74870 11.68385 11.62530 11.57794 11.54667 11.53637 11.54534
## [129] 11.56728 11.60022 11.64220 11.69125 11.74539 11.80266 11.86110 11.91873
## [137] 11.97359 12.02370 12.06710 12.10801 12.15149 12.19679 12.24320 12.28996
## [145] 12.33636 12.38166 12.42512 12.46603 12.50363 12.53721 12.56603 12.58936
## [153] 12.60646 12.61341 12.60893 12.59631 12.57883 12.55978 12.54244 12.53008
## [161] 12.52599 12.53346 12.54889 12.56646 12.58605 12.60754 12.63084 12.65582
## [169] 12.68238 12.71041 12.73979 12.77042 12.80218 12.83497 12.86902 12.90464
## [177] 12.94181 12.98050 13.02071 13.06240 13.10557 13.15019 13.19623 13.24369
## [185] 13.29254 13.34276 13.39433 13.44724 13.50146 13.55698
#assign fits to a vector
both_trendb <- fit_bothb
#extract y min and max for each
limits_bothb <- ggplot_build(extract_bothb)$data
## `geom_smooth()` using formula 'y ~ x'
limits_bothb <- as.data.frame(limits_bothb)
both_yminb <- limits_bothb$ymin
both_ymaxb <- limits_bothb$ymax
#reassign dataframes (just to be safe)
work_bothb <- wrfb_both
#fill in missing dates to smooth fits
work_bothb <- work_bothb %>% complete(date = seq(min(date), max(date), by = "1 day"))
date_vec_bothb <- work_bothb$date
#create a new smooth dataframe to layer
smooth_frame_bothb <- data.frame(date_vec_bothb, both_trendb, both_yminb, both_ymaxb)
#WRF B
#plot smooth frames
p_wrf_b <- plotly::plot_ly() %>%
plotly::add_lines(x = ~date_vec_bothb, y = ~both_trendb,
data = smooth_frame_bothb,
hoverinfo = "text",
text = ~paste('</br> Date: ', date_vec_bothb,
'</br> Median Log Copies: ', round(both_trendb, digits = 2)),
line = list(color = '#D95F02', size = 8, opacity = 0.65),
showlegend = FALSE) %>%
layout(xaxis = list(range = c(mindate - 7, maxdate + 7))) %>% #buffer here
plotly::add_ribbons(x ~date_vec_bothb, ymin = ~both_yminb, ymax = ~both_ymaxb,
showlegend = FALSE,
opacity = 0.25,
hoverinfo = "text",
text = ~paste('</br> Date: ', date_vec_bothb, #leaving in case we want to change
'</br> Max Log Copies: ', round(both_ymaxb, digits = 2),
'</br> Min Log Copies: ', round(both_yminb, digits = 2)),
name = "",
fillcolor = '#D95F02',
line = list(color = '#D95F02')) %>%
layout(yaxis = list(title = "Total Log10 SARS CoV-2 Copies",
showline = TRUE,
automargin = TRUE)) %>%
layout(xaxis = list(title = "Date")) %>%
layout(title = "WRF B") %>%
plotly::add_markers(x = ~date, y = ~log_total_copies_both,
data = wrfb_both,
hoverinfo = "text",
showlegend = FALSE,
text = ~paste('</br> Date: ', date,
'</br> Actual Log Copies: ', round(log_total_copies_both, digits = 2)),
marker = list(color = '#D95F02', size = 6, opacity = 0.65))
p_wrf_b
save(p_wrf_b, file = "./site_objects/wrf_b_year2.rda")
#**************************************WRF C PLOT********************************************** #add trendlines #extract data from geom_smooth # *********************************span 0.6*********************************** #*****************Must always update the n = TOTAL NUMBER OF DAYS*************************
extract_bothc <- ggplot(wrfc_both, aes(x = date, y = log_total_copies_both)) +
stat_smooth(aes(outfit=fit_bothc<<-..y..), method = "loess", color = '#E7298A',
span = 0.3, n = 190)
## Warning: Ignoring unknown aesthetics: outfit
#look at the fits to align dates and total observations
#both
extract_bothc
## `geom_smooth()` using formula 'y ~ x'
fit_bothc
## [1] 10.72509 10.80875 10.89023 10.96929 11.04570 11.11923 11.18965 11.25713
## [9] 11.32206 11.38450 11.44453 11.50221 11.55761 11.61081 11.66186 11.70943
## [17] 11.75248 11.79153 11.82713 11.85981 11.89009 11.91852 11.94563 11.97195
## [25] 11.99801 12.02436 12.05152 12.07889 12.10550 12.13133 12.15635 12.18055
## [33] 12.20390 12.22639 12.24798 12.26867 12.28981 12.31252 12.33644 12.36120
## [41] 12.38643 12.41175 12.43679 12.46119 12.48458 12.50657 12.52681 12.54493
## [49] 12.55989 12.57155 12.58081 12.58859 12.59580 12.60336 12.61216 12.62494
## [57] 12.64230 12.66200 12.68180 12.69947 12.71275 12.71942 12.71985 12.71632
## [65] 12.70940 12.69970 12.68779 12.67426 12.65969 12.64468 12.62980 12.61369
## [73] 12.59494 12.57402 12.55143 12.52764 12.50315 12.47844 12.45399 12.43030
## [81] 12.40783 12.38709 12.36856 12.35244 12.33817 12.32510 12.31255 12.29989
## [89] 12.28645 12.27157 12.25460 12.23488 12.20961 12.17827 12.14354 12.10813
## [97] 12.07475 12.04610 12.02488 12.00685 11.98687 11.96628 11.94645 11.92873
## [105] 11.91446 11.90501 11.90184 11.90480 11.91282 11.92482 11.93973 11.95646
## [113] 11.97393 11.99108 12.00681 12.02006 12.02975 12.03479 12.03694 12.03852
## [121] 12.03930 12.03907 12.03761 12.03471 12.03015 12.02371 12.01517 12.00366
## [129] 11.98894 11.97181 11.95304 11.93342 11.91373 11.89475 11.87726 11.86204
## [137] 11.84988 11.84156 11.83785 11.83675 11.83570 11.83470 11.83374 11.83281
## [145] 11.83191 11.83103 11.83015 11.82928 11.82840 11.82751 11.82661 11.82567
## [153] 11.82470 11.82131 11.81423 11.80506 11.79545 11.78700 11.78135 11.78012
## [161] 11.78494 11.79742 11.81538 11.83555 11.85794 11.88258 11.90948 11.93864
## [169] 11.97009 12.00383 12.03989 12.07828 12.11900 12.16209 12.20759 12.25554
## [177] 12.30594 12.35877 12.41399 12.47161 12.53159 12.59393 12.65860 12.72559
## [185] 12.79488 12.86644 12.94028 13.01636 13.09466 13.17518
#assign fits to a vector
both_trendc <- fit_bothc
#extract y min and max for each
limits_bothc <- ggplot_build(extract_bothc)$data
## `geom_smooth()` using formula 'y ~ x'
limits_bothc <- as.data.frame(limits_bothc)
both_yminc <- limits_bothc$ymin
both_ymaxc <- limits_bothc$ymax
#reassign dataframes (just to be safe)
work_bothc <- wrfc_both
#fill in missing dates to smooth fits
work_bothc <- work_bothc %>% complete(date = seq(min(date), max(date), by = "1 day"))
date_vec_bothc <- work_bothc$date
#create a new smooth dataframe to layer
smooth_frame_bothc <- data.frame(date_vec_bothc, both_trendc, both_yminc, both_ymaxc)
#WRF C
#plot smooth frames
p_wrf_c <- plotly::plot_ly() %>%
plotly::add_lines(x = ~date_vec_bothc, y = ~both_trendc,
data = smooth_frame_bothc,
hoverinfo = "text",
text = ~paste('</br> Date: ', date_vec_bothc,
'</br> Median Log Copies: ', round(both_trendc, digits = 2)),
line = list(color = '#E7298A', size = 8, opacity = 0.65),
showlegend = FALSE) %>%
layout(xaxis = list(range = c(mindate - 7, maxdate + 7))) %>% #buffer here
plotly::add_ribbons(x ~date_vec_bothc, ymin = ~both_yminc, ymax = ~both_ymaxc,
showlegend = FALSE,
opacity = 0.25,
hoverinfo = "text",
text = ~paste('</br> Date: ', date_vec_bothc, #leaving in case we want to change
'</br> Max Log Copies: ', round(both_ymaxc, digits = 2),
'</br> Min Log Copies: ', round(both_yminc, digits = 2)),
name = "",
fillcolor = '#E7298A',
line = list(color = '#E7298A')) %>%
layout(yaxis = list(title = "Total Log10 SARS CoV-2 Copies",
showline = TRUE,
automargin = TRUE)) %>%
layout(xaxis = list(title = "Date")) %>%
layout(title = "WRF C") %>%
plotly::add_markers(x = ~date, y = ~log_total_copies_both,
data = wrfc_both,
hoverinfo = "text",
showlegend = FALSE,
text = ~paste('</br> Date: ', date,
'</br> Actual Log Copies: ', round(log_total_copies_both, digits = 2)),
marker = list(color = '#E7298A', size = 6, opacity = 0.65))
p_wrf_c
save(p_wrf_c, file = "./site_objects/wrf_c_year2.rda")
keeping in case
#save(wrfa_both, file = "./plotly_objs/wrfa_both.rda")
#save(wrfb_both, file = "./plotly_objs/wrfb_both.rda")
#save(wrfc_both, file = "./plotly_objs/wrfc_both.rda")
#save(date_vec_botha, file = "./plotly_objs/date_vec_botha.rda")
#save(date_vec_bothb, file = "./plotly_objs/date_vec_bothb.rda")
#save(date_vec_bothc, file = "./plotly_objs/date_vec_bothc.rda")
#save(both_ymina, file = "./plotly_objs/both_ymina.rda")
#save(both_ymaxa, file = "./plotly_objs/both_ymaxa.rda")
#save(both_yminb, file = "./plotly_objs/both_yminb.rda")
#save(both_ymaxb, file = "./plotly_objs/both_ymaxb.rda")
#save(both_yminc, file = "./plotly_objs/both_yminc.rda")
#save(both_ymaxc, file = "./plotly_objs/both_ymaxc.rda")